<%@ Page Title="" Language="C#" MasterPageFile="~/iCreateMasterPage.master" AutoEventWireup="true"
    CodeBehind="ProjectInfo.aspx.cs" Inherits="iCreatePortal.WebForm6" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContentPlaceHolder" runat="server">
    <div class="iCreatePage" style="height: 600px;">
        <br />
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        &nbsp;<asp:Label ID="Label1" runat="server" Text="Project: ABC Bank Ltd." CssClass="iCreateHeaderLabel"
            Width="800px"></asp:Label>&nbsp;&nbsp;<asp:Button ID="Button2" runat="server" Text="Close Project" /> &nbsp; (BU head)
        <br />
        &nbsp;<asp:Label ID="Label2" runat="server" Text="Manager: Rahul" CssClass="iCreateHeaderLabel"></asp:Label>
        &nbsp;&nbsp;&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/ProjectInfo.aspx">Change</asp:HyperLink> &nbsp; (BU head)
        <br />
        &nbsp;<asp:Label ID="Label3" runat="server" Text="BU: FNS" CssClass="iCreateHeaderLabel"></asp:Label>
        <br />
        <br />
        The below information is read only for BU head <br />
        <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
            <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
                <HeaderTemplate>
                    Resources</HeaderTemplate>
                <ContentTemplate>
                    <asp:Panel ID="Panel2" runat="server" Height="500px">
                        <asp:Panel ID="Panel1" runat="server">
                            &#160;<asp:Button ID="Button1" runat="server" Text="Request New Resource" OnClick="Button1_Click" />&#160;&#160;&#160;<asp:Button
                                ID="Button4" runat="server" Text="Deallocate Resource" /></asp:Panel>
                        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                            DataSourceID="XmlDataSource1" Width="800px" GridLines="None">
                            <Columns>
                                <asp:BoundField HeaderText="Resource Name">
                                    <ItemStyle Width="300px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Title">
                                    <ItemStyle Width="250px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Cost">
                                    <ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Allotted Date">
                                    <ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                    </asp:Panel>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
                <HeaderTemplate>
                    Delivery Milestones</HeaderTemplate>
                <ContentTemplate>
                    <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        DataSourceID="XmlDataSource1" Width="800px" Height="500px" GridLines="None">
                        <Columns>
                            <asp:CommandField ShowCancelButton="False" ShowDeleteButton="True" ShowEditButton="True"
                                ShowInsertButton="True" ItemStyle-Width="100px">
                                <HeaderStyle Height="30px" />
                            </asp:CommandField>
                            <asp:BoundField HeaderText="No" ItemStyle-Width="30px"></asp:BoundField>
                            <asp:BoundField HeaderText="Name" ItemStyle-Width="100px"></asp:BoundField>
                            <asp:BoundField HeaderText="Original Start Date" ItemStyle-Width="100px"></asp:BoundField>
                            <asp:BoundField HeaderText="Start Date" ItemStyle-Width="100px"></asp:BoundField>
                            <asp:BoundField HeaderText="Original End Date" ItemStyle-Width="100px" />
                            <asp:BoundField HeaderText="End Date" ItemStyle-Width="100px" />
                            <asp:BoundField HeaderText="Done">
                                <ItemStyle Width="30px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Original Planned Effort" ItemStyle-Width="100px"></asp:BoundField>
                            <asp:BoundField HeaderText="Planned Effort" ItemStyle-Width="100px"></asp:BoundField>
                            <asp:BoundField HeaderText="Remarks" />
                        </Columns>
                    </asp:GridView>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="TabPanel3">
                <HeaderTemplate>
                    Payment Milestones</HeaderTemplate>
                <ContentTemplate>
                    <asp:GridView ID="GridView3" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        DataSourceID="XmlDataSource1" Width="800px" Height="500px" GridLines="None">
                        <Columns>
                            <asp:CommandField ShowCancelButton="False" ShowDeleteButton="True" ShowEditButton="True"
                                ShowInsertButton="True">
                                <HeaderStyle Height="30px" />
                                <ItemStyle Width="100px" />
                            </asp:CommandField>
                            <asp:BoundField HeaderText="No">
                                <ItemStyle Width="30px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Name">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Original DM No">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="DM No">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Original Date">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Date">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Done">
                                <ItemStyle Width="30px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Remarks" />
                        </Columns>
                    </asp:GridView>
                </ContentTemplate>
            </asp:TabPanel>
            <asp:TabPanel ID="TabPanel4" runat="server" HeaderText="TabPanel3">
                <HeaderTemplate>
                    Requests</HeaderTemplate>
                <ContentTemplate>
                    <asp:GridView ID="GridView4" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        DataSourceID="XmlDataSource1" Width="800px" Height="500px" GridLines="None">
                        <Columns>
                            <asp:BoundField HeaderText="Request Type" HeaderStyle-Height="30px">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Raised By" HeaderStyle-Height="30px">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Status">
                                <ItemStyle Width="150px" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="Remarks" />
                        </Columns>
                    </asp:GridView>
                </ContentTemplate>
            </asp:TabPanel>
        </asp:TabContainer>
        <br />
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/MyTasks.xml">
        </asp:XmlDataSource>
    </div>
</asp:Content>
